import request from '@/request/request'

// 用户个人反馈意见列表
export function feedbackList(params) {
    return request({
        url: '/dev-api/others/advice/userAdviceList/',
        method: 'get',
        params
    })
}
// 用户建议新增
export function feedbackAdd(data) {
    return request({
        url: '/dev-api/others/advice/adviceAdd',
        method: 'post',
        data
    })
}
// 用户修改反馈意见
export function feedbackEdit(data) {
    return request({
        url: '/dev-api/others/advice/updateAdvice',
        method: 'put',
        data
    })
}
// 用户删除反馈意见
export function feedbackDelete(id) {
    return request({
        url: '/dev-api/others/advice/delete/'+id,
        method: 'DELETE',
    })
}
// 用户建议详情
export function feedbackDetail(params) {
    return request({
        url: '/dev-api/others/advice/detail/',
        method: 'get',
        params
    })
}
// 反馈意见列表-园区运营方
export function feedbackYqList(params) {
    return request({
        url: '/dev-api/others/advice/adviceList/', 
        method: 'get',
        params
    })
}
// // 批量删除建议
// export function batchDelete(id) {
//     return request({
//         url: '/dev-api/others/advice/delete/'+id,
//         method: 'DELETE',
//     })
// }

